package com.liu.entity;

import java.io.Serializable;

public class Stock implements Serializable {

    /**
     * 库存主键id
     */
    private Long id;

    /**
     * 库存数量
     */
    private Integer stockNum;

    /**
     * 商品id
     */
    private Long goodsId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStockNum() {
        return stockNum;
    }

    public void setStockNum(Integer stockNum) {
        this.stockNum = stockNum;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }
}